package com.woniuxy.company5.service;


import com.woniuxy.company5.dto.UserEmpDto;
import com.woniuxy.company5.dto.ZhaiDto;
import com.woniuxy.company5.dto.ZhaiUserDto;
import com.woniuxy.company5.entity.UserEmp;
import com.woniuxy.company5.vo.EchartsVo;
import com.woniuxy.company5.vo.ZhaiUserVo;

import java.util.List;

/**
 * @author ：fengsir
 * @date ：Created in 2022/12/6 14:13
 * @description：
 * @modified By：
 * @version: $
 */
public interface UserEmpService {
    UserEmp selectByAccount(String account);
    List<ZhaiUserVo> selAll(ZhaiUserDto userDto);


    UserEmp selectByTel(String tel,String name);


    int deleteByPrimaryKey(Long id);

    int insert(UserEmp record);

    int insertSelective(ZhaiDto record);

    UserEmp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ZhaiDto record);

    int updateByPrimaryKey(UserEmp record);

    UserEmp selectByAccAndPwd(UserEmpDto userEmpDto);
    UserEmp selectByName(String name);

    List<EchartsVo> groupByDid();

}
